package com.flyco.modules.oms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 订单起订金额设置
 * @Author: flyco
 * @Date:   2023-07-14
 * @Version: V1.0
 */
@Data
@TableName("oms_order_price_distance")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="oms_order_price_distance对象", description="订单起订金额设置")
public class OmsOrderPriceDistance {
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Integer id;
	/**距离最小值*/
	@Excel(name = "距离最小值", width = 15)
    @ApiModelProperty(value = "距离最小值")
	private Integer minimumDistance;
	/**距离最大值*/
	@Excel(name = "距离最大值", width = 15)
    @ApiModelProperty(value = "距离最大值")
	private Integer maximumDistance;
	/**订单起订金额*/
	@Excel(name = "订单起订金额", width = 15)
    @ApiModelProperty(value = "订单起订金额")
	private Integer price;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private Date createTime;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
    @ApiModelProperty(value = "createBy")
	private String createBy;

	@ApiModelProperty(value = "渠道Id")
	private Integer channelId;

	@ApiModelProperty(value = "订单起订金额最大箱数")
	private Integer box;

	@ApiModelProperty(value = "渠道Id")
	private String storeId;
}
